begintownscript;
variables;
short choice,i;
body;
beginstate init_state;
set_crime_tolerance(3);
enable_add_chars(1);
set_name(9,"Chieftain Krep");

if(character_in_party(513) >= 4)
	if(get_flag(250,9) > 0)
	{	erase_char(character_in_party(513));
		activate_hidden_group(2);
		set_mobility(19,0);
		message_dialog("Glup smiles, _I can't thank you enough for giving me the chance to travel with you adventurers. I'll take my leave of you here, but you may come and visit me at any time._","_Oh, I almost forgot, why don't you have this, it will be a reminder of me._ He hands you his magnificent trident, but before you can thank him he walks off.");
		set_flag(5,13,1);
		set_flag(250,0,0);
		reward_give(454);
		change_custom_abil_uses(0,0,-1);
		change_custom_abil_uses(1,0,-1);
		change_custom_abil_uses(2,0,-1);
		change_custom_abil_uses(3,0,-1);	
}

	if((get_flag(5,12) == 1) || (get_flag(5,13) == 1) || (get_flag(250,2) == 1)) {
		activate_hidden_group(2);
		set_mobility(19,0); }
	if(get_flag(5,7) == 0)
		activate_hidden_group(4);
	else activate_hidden_group(5);
	if(has_special_item(0) == 1) {
		if(get_flag(250,0) == 0) {
			message_dialog("You return to the swamp folk village with the mushrooms in hand. If only Glup could be here to see this happy day.","");
			set_flag(5,10,1); }
		if(get_flag(250,0) == 1) {
			message_dialog("Glup can hardly restrain himself from running ahead, _Pick up the pace adventurers, our quest is almost complete! We must give the shrooms to shaman Brup._",""); }
}
	if(get_flag(0,8) == 1)
			if(get_flag(5,3) == 0) {
		activate_hidden_group(1);
		message_dialog("You enter the swamp folk village, and true to his word, Glup is here waiting for you. When he sees you he croaks with delight, and motions for you to come over and speak with him.",""); 
}
	if(get_flag(5,4) == 1) {
		if(get_flag(5,7) == 1)
			set_flag(5,7,1);
}		
break;

beginstate exit_state;
		if(get_flag(5,5) == 1)
		if(get_flag(5,7) == 0) {
			message_dialog("Someone yells behind you. You turn around to see Glup sprinting after you, he has his gear thrown over his back, it looks like he hastily grabbed his stuff to run after you. He is beaming as he approaches, he stops to catch his breath before speaking.","_I spoke with Shaman Brup, and he thinks I should travel with you. He says I can learn more journeying with you than I can in class with him. If you decide you don't need me, just stop back by my hut in the northeast, I'll wait there._");
			if(add_char_to_party(19))
				print_str_color("Glup has joined the party.",2);
			set_flag(5,7,1);
			}
break;
beginstate start_state;
break;

beginstate 10;
	if(get_flag(0,8) == 1)
		if(get_flag(5,1) == 0) {
			set_flag(5,1,1); 
			begin_talk_mode(1);
			}
break;

beginstate 11;
	if(get_flag(5,4) == 0)
	if(has_special_item(0) >= 1) {
	if(get_flag(250,0) == 1) {
		block_entry(1);
		erase_char(character_in_party(513));
		spawn_creature(19);
		relocate_character(19,21,16);
		set_character_facing(19,4);
		text_bubble_on_char(19,"Shaman Brup!");
		march_party(22,15);
		force_instant_terrain_redraw();
		force_view_center(char_loc_x(19),char_loc_y(19));
		pause(7);
		
		relocate_character(19,21,17);
		force_instant_terrain_redraw();
		force_view_center(char_loc_x(19),char_loc_y(19));
		pause(7);

		relocate_character(19,22,18);
		text_bubble_on_char(19,"");
		text_bubble_on_char(19,"We found them!");
		text_bubble_on_char(18,"......");
		force_instant_terrain_redraw();
		force_view_center(char_loc_x(19),char_loc_y(19));
		pause(9);

		text_bubble_on_char(19,"");
		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"?");
		force_instant_terrain_redraw();
		pause(9);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"Speak plainly son,");
		force_instant_terrain_redraw();
		pause(15);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"what is it?");
		force_instant_terrain_redraw();
		pause(15);

		text_bubble_on_char(18,"");
		message_dialog("Glup pants for several seconds in an attempt to catch his breath. _The shrooms, we found the shrooms._ To reiterate his point, he pulls out the mushrooms in question.","");
		put_item_on_spot(22,19,5);
		text_bubble_on_char(18,"!");
		force_instant_terrain_redraw();
		pause(20);

		message_dialog("Shaman Brup stares at the mushrooms in shock for what seems an eternity. Then he snatches them up and heads towards his work table.","");
		move_item_on_spot(22,19,-1,0);
		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"Good work.");
		force_instant_terrain_redraw();
		pause(8);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"This is just");
		relocate_character(18,21,19);
		force_instant_terrain_redraw();
		pause(8);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"what I was looking for.");
		relocate_character(18,21,18);
		force_instant_terrain_redraw();
		pause(4);

		set_character_facing(18,2);
		force_instant_terrain_redraw();
		pause(4);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"If I remember correctly....");
		put_item_on_spot(20,18,5);
		force_instant_terrain_redraw();
		pause(10);

		text_bubble_on_char(18,"");
		force_instant_terrain_redraw();
		put_boom_on_space(20,18,4,0);
		run_animation_sound(165);
		pause(3);
		put_boom_on_space(20,18,6,0);
		run_animation_sound(102);
		pause(3);
		put_effect_on_space(20,18,9,5,2);
		run_animation_sound(65);
		move_item_on_spot(20,18,-1,0);
		put_item_on_spot(20,18,450);
		force_instant_terrain_redraw();		
		pause(5);


		text_bubble_on_char(18,"Excellent!");
		force_instant_terrain_redraw();
		pause(8);

		relocate_character(18,21,19);
		move_item_on_spot(20,18,-1,0);
		set_character_facing(18,4);
		force_instant_terrain_redraw();
		pause(7);

		text_bubble_on_char(18,"");
		relocate_character(18,22,20);
		force_instant_terrain_redraw();
		pause(8);

		relocate_character(18,22,21);
		force_instant_terrain_redraw();
		pause(4);
		message_dialog("Shaman Brup rushes into the back bedroom to give his now complete brew to the swamp folk chieftain. You aren't sure if you're welcome back there, so you stand awkwardly where you are.","");

		relocate_character(19,22,19);
		force_instant_terrain_redraw();
		pause(8);

		relocate_character(19,22,20);
		force_instant_terrain_redraw();
		pause(8);

		set_character_facing(19,0);
		force_instant_terrain_redraw();
		pause(8);

		text_bubble_on_char(19,"Aren't you coming?");
		force_instant_terrain_redraw();
		pause(15);

		set_character_facing(19,4);
		force_instant_terrain_redraw();
		pause(5);

		text_bubble_on_char(19,"");
		relocate_character(19,23,23);
		set_character_facing(18,6);
		set_character_facing(19,0);
		relocate_character(18,23,22);
		march_party(22,16);
		force_instant_terrain_redraw();
		i = 0;
			while (char_ok(i) == 0)
			{i = i + 1; }
		force_view_center(char_loc_x(i),char_loc_y(i));
		pause(8);

		march_party(22,17);
		force_instant_terrain_redraw();
		i = 0;
		while (char_ok(i) == 0)
			{i = i + 1; }
			force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);

		march_party(22,18);
		force_instant_terrain_redraw();
		i = 0;
		while (char_ok(i) == 0)
			{i = i + 1; }
			force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);

		march_party(22,19);
		force_instant_terrain_redraw();
		i = 0;
		while (char_ok(i) == 0)
			{i = i + 1; }
			force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);

		march_party(22,20);
		force_instant_terrain_redraw();
			i = 0;
	while (char_ok(i) == 0)
		{i = i + 1; }
	force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);

		march_party(22,21);
		force_instant_terrain_redraw();
		i = 0;
		while (char_ok(i) == 0)
			{i = i + 1; }
			force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);

		march_party(21,22);
		force_instant_terrain_redraw();
		i = 0;
		while (char_ok(i) == 0)
			{i = i + 1; }
			force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);
		
		march_party(21,23);
		force_instant_terrain_redraw();
		i = 0;
	while (char_ok(i) == 0)
		{i = i + 1; }
	force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);

		march_party(21,24);
		force_instant_terrain_redraw();
		i = 0;
	while (char_ok(i) == 0)
		{i = i + 1; }
	force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);

		march_party(22,24);
		force_instant_terrain_redraw();
		i = 0;
	while (char_ok(i) == 0)
		{i = i + 1; }
	force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);

		march_party(23,24);
		force_instant_terrain_redraw();
		pause(7);

		march_party(24,24);
		force_instant_terrain_redraw();
		pause(7);

		set_character_facing(0,0);
		set_character_facing(1,0);
		set_character_facing(2,0);
		set_character_facing(3,0);
		force_instant_terrain_redraw();
		pause(5);
		message_dialog("For a chieftain's quarters, this room is remarkably sparse, even by swamp folk standards. You don't spend long surveying this chamber, instead you take your first glance of chieftain Krep.","The chief of the swamp folk lies on a reed mat. His body is covered in sweat, and looks feverish. As you look, he convulses and mutters something incoherent, then thrashes to and fro.");

		text_bubble_on_char(18,"Glup, I'll need your help for this.");
		force_instant_terrain_redraw();
		pause(15);

		text_bubble_on_char(18,"");
		text_bubble_on_char(19,"Certainly Shaman,");
		force_instant_terrain_redraw();
		pause(14);

		text_bubble_on_char(19,"");
		text_bubble_on_char(19,"What do you want of me?");
		force_instant_terrain_redraw();
		pause(14);

		text_bubble_on_char(19,"");
		text_bubble_on_char(18,"Hold him down as I");
		force_instant_terrain_redraw();
		pause(14);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"minister my antidote.");
		force_instant_terrain_redraw();
		pause(14);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"The poisons will not");
		force_instant_terrain_redraw();
		pause(14);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"leave his body without a struggle.");
		force_instant_terrain_redraw();
		pause(14);

		text_bubble_on_char(18,"");
		force_instant_terrain_redraw();
		message_dialog("Shaman Brup pulls out a long syringe and dips it into the pot he mixed his antidote in. He carefully draws up a sickly looking black fluid, then holds up the needle. He seems satisfied with his measurements, and turns back to the patient.","Glup moves over to hold the chieftain down. Glup is one of the largest swamp men you've seen, but chieftain Krep dwarfs him.");

		text_bubble_on_char(18,"Are you ready?");
		force_instant_terrain_redraw();
		pause(14);
		
		set_character_facing(19,6);
		force_instant_terrain_redraw();
		pause(5);

		relocate_character(19,24,23);
		force_instant_terrain_redraw();
		pause(5);

		set_character_facing(19,0);
		force_instant_terrain_redraw();
		pause(5);

		set_character_pose(19,1);
		force_instant_terrain_redraw();
		pause(8);

		text_bubble_on_char(18,"");
		text_bubble_on_char(19,"Yes.");
		force_instant_terrain_redraw();
		pause(10);

		message_dialog("Shaman Brup plunges the syringe into Krep's chest, and pushes the antidote into his body. Krep's body sags, and you wonder if he's unconscious.","");

		text_bubble_on_char(19,"");
		set_character_pose(18,1);
		force_instant_terrain_redraw();
		pause(3);

		put_effect_on_char(9,10,10,2);
		run_animation_sound(28);
		pause(4);
		put_effect_on_char(9,7,5,2);
		run_animation_sound(4);
		pause(4);
		put_effect_on_char(9,10,10,1);
		run_animation_sound(28);
		pause(4);
		
		set_character_pose(18,0);
		force_instant_terrain_redraw();
		pause(25);
		message_dialog("He remains still for an eternity, but now he begins to stir. It seems he is starting to feel the antidote and the detoxification isn't an easy process.","Krep begins to thrash and convulse with all his strength, Glup hangs on for dear life, but you doubt that he can hold on.");

		set_character_pose(9,1);
		text_bubble_on_char(9,"");
		text_bubble_on_char(9,"Urgh");
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		set_character_facing(9,2);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		set_character_facing(9,4);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		set_character_facing(9,6);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		text_bubble_on_char(9,"");
		text_bubble_on_char(9,"*thrash*");
		force_instant_terrain_redraw();
		pause(3);

		set_character_pose(9,0);
		set_character_facing(9,2);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		set_character_facing(9,6);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		set_character_facing(9,2);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		set_character_facing(9,6);
		text_bubble_on_char(9,"");
		text_bubble_on_char(19,"I can't hold on much longer!");
		force_instant_terrain_redraw();
		pause(3);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		set_character_facing(9,4);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		set_character_facing(9,2);
		force_instant_terrain_redraw();
		pause(2);

		text_bubble_on_char(19,"");
		text_bubble_on_char(18,"Hang on,");
		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(3);

		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(3);

		set_character_pose(9,0);
		set_character_facing(9,4);
		force_instant_terrain_redraw();
		pause(3);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(3);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"his convulsions are weakening.");
		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(3);

		set_character_pose(9,1);
		set_character_facing(9,2);
		force_instant_terrain_redraw();
		pause(3);

		text_bubble_on_char(9,"");
		text_bubble_on_char(9,"AHGGH");
		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(3);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(3);

		set_character_pose(9,0);
		set_character_facing(9,6);
		force_instant_terrain_redraw();
		pause(3);

		text_bubble_on_char(9,"");
		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(4);

		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(4);

		set_character_pose(9,1);
		set_character_facing(9,4);
		force_instant_terrain_redraw();
		pause(4);

		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(5);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(5);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"he will soon....");
		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(2);

		set_character_pose(9,0);
		set_character_facing(9,2);
		force_instant_terrain_redraw();
		pause(6);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(6);

		set_character_pose(9,0);
		set_character_facing(9,6);
		force_instant_terrain_redraw();
		pause(6);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(6);

		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(6);

		set_character_pose(9,1);
		set_character_facing(9,4);
		force_instant_terrain_redraw();
		pause(6);

		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(6);

		set_character_pose(9,1);
		force_instant_terrain_redraw();
		pause(6);

		set_character_pose(9,0);
		force_instant_terrain_redraw();
		pause(15);

		set_character_pose(19,0);
		force_instant_terrain_redraw();
		pause(6);
		
		message_dialog("Krep gives a final twitch, before slumping back into his bed. Glup looks relieved that he can let go, but concerned nonetheless.","");

		text_bubble_on_char(18,"");
		text_bubble_on_char(19,"Is he alright?");
		force_instant_terrain_redraw();
		pause(15);

		text_bubble_on_char(19,"");
		text_bubble_on_char(18,"Yes, he will recover with time");
		force_instant_terrain_redraw();
		pause(15);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"but he will need lots of rest.");
		force_instant_terrain_redraw();
		pause(15);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"Show our friends to their room,");
		force_instant_terrain_redraw();
		pause(15);

		text_bubble_on_char(18,"");
		text_bubble_on_char(18,"I will remain here, to watch over him.");
		force_instant_terrain_redraw();
		pause(15);

		text_bubble_on_char(18,"");
		force_instant_terrain_redraw();
		message_dialog("Glup ushers you out of the room, and shows you to an empty room in one of the village's huts. The sleeping mats are damp and, like everything in the village, smell like a bog. It isn't one of your more pleasant nights.","");
		set_flag(5,4,1);
		activate_hidden_group(5);
		change_spec_item(0,-1);
		toggle_quest(4,0);
		award_party_xp(500,35);
		teleport_party(27,8,1);
}
}	
		
break;

beginstate 12;
	if(get_flag(5,8) == 0) {
		message_dialog("A cooking fire burns in the middle of this small village. A frog man sits nearby roasting some kind of reptilian meat. When you approach it offers the stick of meat to you, you politely decline, preferring not to think about what he is cooking.","");
		set_flag(5,8,1);
}

break;

beginstate 13; ///EXIT////
	if(get_flag(0,8) == 1)
		if(get_flag(5,3) == 0){
			message_dialog("You have unfinished business here. You should give Shaman Brup your answer regarding your quest before leaving.","");
			block_entry(1); }

	if(get_flag(5,4) == 1)
		if(get_flag(5,5) == 0) {
		block_entry(1);
		message_dialog("You should see how Chieftain Krep is recovering, and say farewell to Glup first.",""); }


break;

beginstate 14;
	if(get_flag(5,7) == 0) {
		if(get_flag(5,4) == 0) {
			message_dialog("Brup blocks your path, _Chieftain Krep is very ill. No visitors at this time._","");
			block_entry(1); }
		if(get_flag(5,4) == 1) {
			message_dialog("Brup calls you back, _Chieftain Krep is still recovering. Perhaps later you will be able to visit him, after he has rested more._","");
			block_entry(1); }
}
break;

beginstate 15;
	if(get_flag(5,6) == 1)
		if(get_flag(5,5) == 0) {
			block_entry(1);
			message_dialog("Glup must have just gotten back from his fishing trip. He is standing around the fire pit waiting for you, and calls when he sees you, _I didn't know you were up already! Come here, I need to speak with you._","");
		march_party(18,13);
		force_instant_terrain_redraw();
			i = 0;
	while (char_ok(i) == 0)
		{i = i + 1; }
	force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);

		march_party(17,13);
		force_instant_terrain_redraw();
			i = 0;
	while (char_ok(i) == 0)
		{i = i + 1; }
	force_view_center(char_loc_x(i),char_loc_y(i));
		pause(7);
		
		message_dialog("Glup embraces you, a very soggy affair. _Adventurers, you have saved our chieftain and helped me redeem myself for my failures. I am forever in your debt._","_Regrettably, I fear that Shaman Brup still needs me, and my duty is to stay here to help him. I fear that we must part ways, but know that you will always have a warm welcome and a place to stay here._");
		set_flag(5,5,1);
}
break;

beginstate 16;
	if(get_flag(5,9) == 0) {
		message_dialog("A primitive village is located in the middle of miles of swamp. There are several mud walled huts, thatched with swamp reeds, you also see rows of carefully tended mushrooms. Walking about the town are frog-like humanoids.","You've heard of creatures like this before but wrote them off as myths. They are frog-men or swamp folk, and hopefully not hostile.");
	set_flag(5,9,1);
}
break;

beginstate 17;
	if(character_in_party(513) >= 4)
		if(has_special_item(0) == 0) {
			if(get_flag(5,4) == 1) {
				reset_dialog();
				add_dialog_str(0,"Glup looks at you, _Would you like me to wait here?_",0);
				add_dialog_choice(0,"Yes, wait here.");
				add_dialog_choice(1,"No, stay with us.");
				choice = run_dialog(1);
				if(choice == 1) {
					erase_char(character_in_party(513));
					activate_hidden_group(2);
					set_mobility(19,0);
					message_dialog("Glup sets down his spear and lays down. _I'll relax here, if you need me again I'll be well rested._","");
					set_flag(5,13,1);
					set_flag(250,0,0);
					change_custom_abil_uses(0,2,-1);
					change_custom_abil_uses(1,2,-1);
					change_custom_abil_uses(2,2,-1);
					change_custom_abil_uses(3,2,-1); }
				if(choice == 2)
					message_dialog("_Well lets go then, there are adventures out there!_",""); }
			
			if(get_flag(5,4) == 0) {
				reset_dialog();
				add_dialog_str(0,"Glup looks at you sadly, _So the quest is over? I'll stay here if you're giving up looking for the shrooms._",0);
				add_dialog_choice(0,"Yes, we're giving up.");
				add_dialog_choice(1,"No, we're still searching.");
				choice = run_dialog(1);
				if(choice == 1) {
					erase_char(character_in_party(513));
					activate_hidden_group(2);
					set_mobility(19,0);
					message_dialog("Glup leans his spear against the wall and sits down. _You should go inform Shaman Brup, I don't have the heart to tell him I failed again._","");
					set_flag(5,12,1);
					set_flag(250,0,0);
					toggle_quest(4,0);
					set_town_visibility(6,0);
					change_custom_abil_uses(0,2,-1);
					change_custom_abil_uses(1,2,-1);
					change_custom_abil_uses(2,2,-1);
					change_custom_abil_uses(3,2,-1); }
				if(choice == 2)
					message_dialog("_Well lets go then, time is wasting!_","");
}

}
break;
		
beginstate 18;
if(get_flag(5,4) > 0)
{	reset_dialog();
	add_dialog_str(0,"There are some empty mats lying on the floor here, would you like to rest?",0);
	add_dialog_choice(0,"Yes.");
	add_dialog_choice(1,"No, we're too busy.");
	choice = run_dialog(1);
	if(choice == 1)
	{	message_dialog("You have a damp, but rejuvenating rest. When you wake up you feel very refreshed.","");
		set_ticks_forward(2500);
		revive_party();
		teleport_party(27,8,1); }
	if(choice == 2)
		end();
}
break;

beginstate 19;
	block_entry(1);
break;
		